﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using Microsoft.Practices.Unity;
using Vit.Web;
using Vit.Web.Services;
using Vit.Web.Mvc.Filters;
using Vit.CMS.Data;

namespace Vit.CMS
{
    public class CMSArea : ModuleBase
    {
        public CMSArea(IUnityContainer unity)
            : base(unity)
        {
        }

        #region IArea Members

        public override void RegisterRoutes(RouteCollection routes)
        {
            Routes route = new Routes();
            AreaRegistrationContext context = new AreaRegistrationContext(route.AreaName, routes, null);
            route.RegisterArea(context);
        }

        public override void RegisterModelBinders(ModelBinderDictionary modelBinders)
        {
        }

        public override void RegisterWithContainer()
        {
        }

        #endregion
    }
}
